<!DOCTYPE html>
<html>
<head>
    <title>登录</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <!-- Bootstrap -->
    <link th:href="@{/bootstrap/css/bootstrap.min.css}" rel="stylesheet" media="screen">
    <link th:href="@{/bootstrap/css/bootstrap-responsive.min.css}" rel="stylesheet" media="screen">
    <link th:href="@{/assets/styles.css}" rel="stylesheet" media="screen">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!--    <script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>-->
</head>
<body id="login">
<div class="container">

    <form class="form-signin" th:action="@{/register}" method="post">
        <h2 class="form-signin-heading">注册</h2>
        <span th:if = "${msg != null}"> [[ ${msg} ]] </span>
        <input type="text" class="input-block-level" placeholder="用户名字(必填)" name="username" required>
        <input type="password" class="input-block-level" placeholder="密码(必填)" name="password" required>
        <input type="text" class="input-block-level" placeholder="手机号码(必填)" name="phone" required>
        <input type="text" class="input-block-level" placeholder="地址(必填)" name="address" required>
        <!--        <label class="checkbox">-->
<!--            <input type="checkbox" value="remember-me" name="remember"> 记住密码-->
<!--        </label>-->
        <button class="btn btn-large btn-primary" type="submit">注册</button>
    </form>

</div> <!-- /container -->
<script th:src="@{/vendors/jquery-1.9.1.min.js}"></script>
<script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
</body>
</html>